<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <th:block th:include="include :: header('')" />
</head>
<body class="gray-bg">
<div class="container-div">
    <div class="row">
        <div class="col-sm-12 search-collapse">
            <form id="formId">
                <div class="select-list">
                </div>
            </form>
        </div>

        <div class="col-sm-12 select-table table-striped">
            <table id="bootstrap-table"></table>
        </div>
    </div>
</div>
<th:block th:include="include :: footer" />
<script th:inline="javascript">
    var prefix = ctx + "system/homepage";

    $(function() {
        var options = {
            url: prefix + "/list",
            modalName: "系统 - 任务指派",
            columns: [{
                checkbox: true
            },
                {
                    field : 'informationNumber',
                    title : '资讯总数量'

                }, {
                    field : 'videoNumber',
                    title : '视频总数量'

                }, {
                    field : 'userNumber',
                    title : '用户总数量'

                }, {
                    field : 'volunteerNumber',
                    title : '志愿者总数量'

                }, {
                    field : 'visitNumber',
                    title : '访问总数量'

                }, {
                    field : 'groupNumber',
                    title : '团体总数量'

                },
               ]
        };
        $.table.init(options);
    });
</script>
</body>
</html>